package cn.phecda.boot.data.core.model;

import cn.phecda.boot.data.core.entity.DataStatus;
import cn.phecda.boot.data.core.entity.StatusEntity;
import io.swagger.v3.oas.annotations.media.Schema;

/**
 * <p> 抽象状态VO </p>
 *
 * @author : wanpinwei
 */
public abstract class AbstractStatusVO extends AbstractAuditVO implements StatusEntity {
    @Schema(description = "排序号")
    private Integer sortNum;

    @Schema(description = "数据状态")
    private DataStatus dataStatus;

    @Schema(description = "是否保留数据, True 为不能删，False为可以删除")
    private Boolean reserved;

    @Override
    public DataStatus getDataStatus() {
        return dataStatus;
    }

    @Override
    public void setDataStatus(DataStatus dataStatus) {
        this.dataStatus = dataStatus;
    }

    @Override
    public Boolean getReserved() {
        return reserved;
    }

    @Override
    public void setReserved(Boolean reserved) {
        this.reserved = reserved;
    }

    @Override
    public Integer getSortNum() {
        return sortNum;
    }

    @Override
    public void setSortNum(Integer sortNum) {
        this.sortNum = sortNum;
    }
}
